
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sp_DeleteMonHocDangKy]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[sp_DeleteMonHocDangKy]
GO
CREATE PROC sp_DeleteMonHocDangKy
	@MaSV varchar(10),
	@MaMH varchar(10)
AS
BEGIN
	DELETE
	FROM DangKy 
	WHERE MaSV = @MaSV and MaMH = @MaMH
END